package com.xiexie.seckill.mapper;

import com.xiexie.seckill.pojo.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiexie.seckill.vo.GoodsVo;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author xiexie
 * @date 2021-07-31
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> findGoodsVo();

    /**
     * 获取商品详情
     * @param goodsId
     * @return
     */
    GoodsVo getGoodsVoByGoodsId(Long goodsId);
}
